package com.kingdee.pda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ReplenishOrderDetailBean {


    /**
     * data : {"listVo":{"billId":1180578807560819712,"billNo":"BHD-20210617-009","billStatus":"D","replenishStatus":"","type":"A","moveBillNos":"","remark":"","allWantQty":12,"allRealQty":0,"createDate":"2021-06-17 21:19:14","modifyDate":"2021-06-17 21:22:55"},"items":[{"itemskuId":1165837695834976256,"itemName":"条码111","itemskuCode":"条码111","itemskuName":"条码111","wantQty":12,"realQty":0}],"putaways":[{"itemskuId":1165837695834976256,"locationId":1159240261918858240,"locationName":"独立WMS拣货库位1","warehouseAreaId":1159236955314132992,"warehouseAreaName":"独立WMS拣货库区1","qty":12}],"allots":[]}
     * errorCode : success
     * success : true
     */

    private DataBean data;
    private String errorCode;
    private boolean success;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * listVo : {"billId":1180578807560819712,"billNo":"BHD-20210617-009","billStatus":"D","replenishStatus":"","type":"A","moveBillNos":"","remark":"","allWantQty":12,"allRealQty":0,"createDate":"2021-06-17 21:19:14","modifyDate":"2021-06-17 21:22:55"}
         * items : [{"itemskuId":1165837695834976256,"itemName":"条码111","itemskuCode":"条码111","itemskuName":"条码111","wantQty":12,"realQty":0}]
         * putaways : [{"itemskuId":1165837695834976256,"locationId":1159240261918858240,"locationName":"独立WMS拣货库位1","warehouseAreaId":1159236955314132992,"warehouseAreaName":"独立WMS拣货库区1","qty":12}]
         * allots : []
         */

        private ListVoBean listVo;//补货单信息
        private List<ItemsBean> items;//所有sku集合
        private List<PutawaysBean> putaways;//分配库位信息
        private List<AllotsBean> allots;//上架建议信息
        private List<RepsBean> reps;//已补货明细

        public ListVoBean getListVo() {
            return listVo;
        }

        public void setListVo(ListVoBean listVo) {
            this.listVo = listVo;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public List<PutawaysBean> getPutaways() {
            return putaways;
        }

        public void setPutaways(List<PutawaysBean> putaways) {
            this.putaways = putaways;
        }

        public List<AllotsBean> getAllots() {
            return allots;
        }

        public void setAllots(List<AllotsBean> allots) {
            this.allots = allots;
        }

        public List<RepsBean> getReps() {
            if (reps == null) {
                return new ArrayList<>();
            }
            return reps;
        }

        public void setReps(List<RepsBean> reps) {
            this.reps = reps;
        }

        public static class ListVoBean {
            /**
             * billId : 1180578807560819712
             * billNo : BHD-20210617-009
             * billStatus : D
             * replenishStatus :
             * type : A
             * moveBillNos :
             * remark :
             * allWantQty : 12.0
             * allRealQty : 0.0
             * createDate : 2021-06-17 21:19:14
             * modifyDate : 2021-06-17 21:22:55
             */

            private long billId;
            private String billNo;
            private String billStatus;//单据状态
            private String replenishStatus;//补货情况 A部分  B全部
            private String type;//补货类型   A出库补货  B库内补货
            private String moveBillNos = "";
            private String remark = "";
            private long allWantQty;
            private long allRealQty;
            private String createDate;
            private String modifyDate;

            public long getBillId() {
                return billId;
            }

            public void setBillId(long billId) {
                this.billId = billId;
            }

            public String getBillNo() {
                return billNo;
            }

            public void setBillNo(String billNo) {
                this.billNo = billNo;
            }

            public String getBillStatus() {
                return billStatus;
            }

            public void setBillStatus(String billStatus) {
                this.billStatus = billStatus;
            }

            public String getReplenishStatus() {
                return replenishStatus;
            }

            public void setReplenishStatus(String replenishStatus) {
                this.replenishStatus = replenishStatus;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getMoveBillNos() {
                return moveBillNos;
            }

            public void setMoveBillNos(String moveBillNos) {
                this.moveBillNos = moveBillNos;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public long getAllWantQty() {
                return allWantQty;
            }

            public void setAllWantQty(long allWantQty) {
                this.allWantQty = allWantQty;
            }

            public long getAllRealQty() {
                return allRealQty;
            }

            public void setAllRealQty(long allRealQty) {
                this.allRealQty = allRealQty;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getModifyDate() {
                return modifyDate;
            }

            public void setModifyDate(String modifyDate) {
                this.modifyDate = modifyDate;
            }
        }

        public static class ItemsBean implements Serializable {
            /**
             * itemskuId : 1165837695834976256
             * itemName : 条码111
             * itemskuCode : 条码111
             * itemskuName : 条码111
             * wantQty : 12
             * realQty : 1
             */

            private long itemskuId;
            private String itemName;
            private String itemskuCode;//商品条码
            private String itemskuName;
            private long wantQty;
            private long realQty;
            String itemCode;//商品编码
            String itemBarCode;//商品条码
            private long invStatusId;//库存状态id
            private String invStatusName;//库存状态

            public long getInvStatusId() {
                return invStatusId;
            }

            public void setInvStatusId(long invStatusId) {
                this.invStatusId = invStatusId;
            }

            public String getInvStatusName() {
                return invStatusName == null ? "" : invStatusName;
            }

            public void setInvStatusName(String invStatusName) {
                this.invStatusName = invStatusName;
            }

            public long getItemskuId() {
                return itemskuId;
            }

            public void setItemskuId(long itemskuId) {
                this.itemskuId = itemskuId;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getItemskuCode() {
                return itemskuCode;
            }

            public void setItemskuCode(String itemskuCode) {
                this.itemskuCode = itemskuCode;
            }

            public String getItemskuName() {
                return itemskuName;
            }

            public void setItemskuName(String itemskuName) {
                this.itemskuName = itemskuName;
            }

            public long getWantQty() {
                return wantQty;
            }

            public void setWantQty(long wantQty) {
                this.wantQty = wantQty;
            }

            public long getRealQty() {
                return realQty;
            }

            public void setRealQty(long realQty) {
                this.realQty = realQty;
            }

            public String getItemCode() {
                return itemCode;
            }

            public void setItemCode(String itemCode) {
                this.itemCode = itemCode;
            }

            public String getItemBarCode() {
                return itemBarCode;
            }

            public void setItemBarCode(String itemBarCode) {
                this.itemBarCode = itemBarCode;
            }
        }

        public static class PutawaysBean implements Serializable {
            /**
             * itemskuId : 1165837695834976256
             * locationId : 1159240261918858240
             * locationName : 独立WMS拣货库位1
             * warehouseAreaId : 1159236955314132992
             * warehouseAreaName : 独立WMS拣货库区1
             * qty : 12.0
             */

            private long itemskuId;
            private long locationId;
            private String locationName;
            private String locationCode = "";
            private long warehouseAreaId;
            private String warehouseAreaName;
            private long qty;

            public String getLocationCode() {
                return locationCode;
            }

            public void setLocationCode(String locationCode) {
                this.locationCode = locationCode;
            }

            public long getItemskuId() {
                return itemskuId;
            }

            public void setItemskuId(long itemskuId) {
                this.itemskuId = itemskuId;
            }

            public long getLocationId() {
                return locationId;
            }

            public void setLocationId(long locationId) {
                this.locationId = locationId;
            }

            public String getLocationName() {
                return locationName;
            }

            public void setLocationName(String locationName) {
                this.locationName = locationName;
            }

            public long getWarehouseAreaId() {
                return warehouseAreaId;
            }

            public void setWarehouseAreaId(long warehouseAreaId) {
                this.warehouseAreaId = warehouseAreaId;
            }

            public String getWarehouseAreaName() {
                return warehouseAreaName;
            }

            public void setWarehouseAreaName(String warehouseAreaName) {
                this.warehouseAreaName = warehouseAreaName;
            }

            public long getQty() {
                return qty;
            }

            public void setQty(long qty) {
                this.qty = qty;
            }
        }

        public static class AllotsBean implements Serializable {
            /**
             * itemskuId : 1165837695834976256
             * locationId : 1159240261918858240
             * locationName : 独立WMS拣货库位1
             * warehouseAreaId : 1159236955314132992
             * warehouseAreaName : 独立WMS拣货库区1
             * qty : 12.0
             */

            private long itemskuId;
            private long locationId;
            private String locationName;
            private long warehouseAreaId;
            private String warehouseAreaName;
            private long qty;
            private String locationCode = "";

            public String getLocationCode() {
                return locationCode;
            }

            public void setLocationCode(String locationCode) {
                this.locationCode = locationCode;
            }

            public long getItemskuId() {
                return itemskuId;
            }

            public void setItemskuId(long itemskuId) {
                this.itemskuId = itemskuId;
            }

            public long getLocationId() {
                return locationId;
            }

            public void setLocationId(long locationId) {
                this.locationId = locationId;
            }

            public String getLocationName() {
                return locationName;
            }

            public void setLocationName(String locationName) {
                this.locationName = locationName;
            }

            public long getWarehouseAreaId() {
                return warehouseAreaId;
            }

            public void setWarehouseAreaId(long warehouseAreaId) {
                this.warehouseAreaId = warehouseAreaId;
            }

            public String getWarehouseAreaName() {
                return warehouseAreaName;
            }

            public void setWarehouseAreaName(String warehouseAreaName) {
                this.warehouseAreaName = warehouseAreaName;
            }

            public long getQty() {
                return qty;
            }

            public void setQty(long qty) {
                this.qty = qty;
            }
        }

        public static class RepsBean implements Serializable {

            private long itemskuId;
            private String inlocationName;
            private String outlocationName;
            private String inlocationCode;
            private String outlocationCode;
            private int qty;

            public long getItemskuId() {
                return itemskuId;
            }

            public void setItemskuId(long itemskuId) {
                this.itemskuId = itemskuId;
            }

            public String getInlocationName() {
                return inlocationName == null ? "" : inlocationName;
            }

            public void setInlocationName(String inlocationName) {
                this.inlocationName = inlocationName;
            }

            public String getOutlocationName() {
                return outlocationName == null ? "" : outlocationName;
            }

            public void setOutlocationName(String outlocationName) {
                this.outlocationName = outlocationName;
            }

            public String getInlocationCode() {
                return inlocationCode == null ? "" : inlocationCode;
            }

            public void setInlocationCode(String inlocationCode) {
                this.inlocationCode = inlocationCode;
            }

            public String getOutlocationCode() {
                return outlocationCode == null ? "" : outlocationCode;
            }

            public void setOutlocationCode(String outlocationCode) {
                this.outlocationCode = outlocationCode;
            }

            public int getQty() {
                return qty;
            }

            public void setQty(int qty) {
                this.qty = qty;
            }
        }
    }
}
